Allow GtkComboBox popup to be wider than the combo itself.
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Sat, 16 Oct 2010 09:01:33 +0000 (18:01 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 17 Oct 2010 05:11:27 +0000 (14:11 +0900)
commit31abdf723aa5af06bd8ea730e9575d2f38ff0a98
treed284044193359b795553778f94abd8a9c13e694f
parent17cd0db6a81a782ed6c069d73efa5692c84b582e
Allow GtkComboBox popup to be wider than the combo itself.

This patch adds a GtkComboBox:popup-fixed-width to decide if the
popup's width should be a fixed width matching the combo's allocated width.

The patch includes a kindof hack to work around treeviews currently
not supporting height-for-width geometry (for list-mode only), this
hack can be safely removed once treeviews start reporting natural
widths properly.
gtk/gtkcombobox.c
gtk/gtkcombobox.h
tests/testcombo.c